package com.zzy.pojo;

/**
 * 文件描述: <br>
 * 版权所有: Copyright (c) 2021/5/1<br>
 * 完成日期: 2021/5/1<br>
 *
 * @author zainzhang
 */
public class MappedStatement {

    private String id;
    private Class<?> resultType;
    private Class<?> parameterType;
    private String bindSql;
    private SqlCommandType sqlCommandType;

    public SqlCommandType getSqlCommandType() {
        return sqlCommandType;
    }

    public void setSqlCommandType(SqlCommandType sqlCommandType) {
        this.sqlCommandType = sqlCommandType;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Class<?> getResultType() {
        return resultType;
    }

    public void setResultType(Class<?> resultType) {
        this.resultType = resultType;
    }

    public Class<?> getParameterType() {
        return parameterType;
    }

    public void setParameterType(Class<?> parameterType) {
        this.parameterType = parameterType;
    }

    public String getBindSql() {
        return bindSql;
    }

    public void setBindSql(String bindSql) {
        this.bindSql = bindSql;
    }

    public enum SqlCommandType {
        INSERT, UPDATE, DELETE, SELECT
    }

}
